package com.atguigu.yygh.common.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//自定义异常类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YyghException  extends RuntimeException {
    //"状态码"
    private Integer code;

    private String msg;

}
